<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>请你免费去韩国</title>
		<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
		<link rel="stylesheet" href="{$_C.hy_path}css/run/public.css" />
		<link rel="stylesheet" href="{$_C.hy_path}css/run/xiangx.css" />
	</head>
	<body>
		<div class="cheng">
			<div class="zhishi"><img src="{$_C.hy_path}images/run/lap.png" /></div>
		</div>
		<div class="banner">
			<img src="{$_C.hy_path}images/run/banner.png">
			<div id="lap"></div>
		</div>
		<!--
		<div class="xiu"><span>秀一下你的跑姿</span></div>
		<div class="xianji"><img src="{$apply.pic_url}"></div>
		<div class="tp">支持票数：{$apply.count|default:0}票</div>
		-->
		<div class="xianji">
			<div class="leftbox" style="width:30%;">
				<img src="{$apply.pic_url}">
				<div class="tp">支持票数<br />&nbsp&nbsp&nbsp{$apply.count|default:0}票</div>
			</div>	
			<div class="rigthbox">
				<p style="line-height: 131%;line-height: 171%;letter-spacing: 1px;margin-left: 10px;">&nbsp&nbsp&nbsp{$apply.reason}</p>
			</div>
		</div>
		<div class="iconzc" ><img onClick="vote()" src="{$_C.hy_path}images/run/iconzc.png"></div>
		<div class="iconcan"><a href="index.php?g=mobile&m=run&a=index"><img src="{$_C.hy_path}images/run/iconcan.png"></a></div>
		<div class="canx">
			<img src="{$_C.hy_path}images/run/canx.jpg">
			<div id="dianj" onclick="return ongx()"></div>
		</div>
		<script>
			var id={$wxid},count = {$apply.count};
		</script>
		<script type="text/javascript" src="{$_C.hy_path}js/jquery-1.10.2.min.js" ></script>
		<script type="text/javascript" src="{$_C.hy_path}js/run/public.js" ></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		
		
<script>
		 
		
		  wx.config({
		    debug: false, 
		   appId: '{$jsdk.appId}',
				timestamp: {$jsdk.timestamp},
				nonceStr: '{$jsdk.nonceStr}',
				signature: '{$jsdk.signature}',
		    jsApiList: [
		      // 所有要调用的 API 都要加到这个列表中
		      'onMenuShareTimeline',
		      'onMenuShareAppMessage',
		    
		    ]
		  });
		
		  wx.ready(function () {
 			wx.onMenuShareTimeline({
			    title: '用你的跑故事换一次免费韩国樱花跑之旅',
			     link:'http://g4.shfyuan.com/xy/index.php?g=mobile&m=run&a=xiu&wxid={$wxid}',
			     imgUrl: 'http://g4.shfyuan.com/xy/Mobile/Webroot/gf/images/run/share-info.png',
			      trigger: function (res) {
			       
			      },
			      success: function (res) {
			    	 
			      },
			      cancel: function (res) {
			       
			      },
			      fail: function (res) {
			      }
		    });
		    
			wx.onMenuShareAppMessage({
			    link:'http://g4.shfyuan.com/xy/index.php?g=mobile&m=run&a=xiu&wxid={$wxid}',
			     title: '福利福利',
			    desc: '敢用你的跑故事，换一次免费韩国樱花跑之旅吗?',
			  	imgUrl: 'http://g4.shfyuan.com/xy/Mobile/Webroot/gf/images/run/share-info.png',
			    success: function () { 
			    	
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
		});

  });
		</script>
	</body>
</html>
